<@cms_activity_main_list page=(returnDatas.page)! orderBy=(paramsMap.orderBy)!6 pageSize=(paramsMap.pageSize)!10 >
<#if tag_list?? >
<#list tag_list as _data >
<li>
	<div class="status">
		<#if (_data.signupStartTime)?datetime gte .now >
			待报名
		<#elseif ((_data.signupStartTime)?datetime lte .now) && ((_data.signupEndTime)?datetime gte .now) >
			报名中
		<#elseif ((_data.signupEndTime)?datetime lte .now) && ((_data.activityStartTime)?datetime gte .now) >
			报名结束
		<#elseif ((_data.activityStartTime)?datetime lte .now) && ((_data.activityEndTime)?datetime gte .now) >
			活动中
		<#elseif (_data.activityEndTime)?datetime lte .now>
			活动结束
		</#if>
	</div>
	<div class="vlist_top boxSizing lin_left">
		<span>${_data.cmsContent.title}</span>
	</div>
	<div class="vlist_cont">
		<#if _data.cmsContent.cover?? && _data.cmsContent.cover !="">
			<#assign json=(_data.cmsContent.cover)?eval/>
			<#list json as item>
				<img src="${ctx}${(item.path)!''}" onclick="toActivityMainInfoPage('${_data.id}');" />
			</#list>
		</#if>
		<!-- <img src="${ctx}${(_data.cmsContent.coverPath)!}" onclick="toActivityMainInfoPage('${_data.id}');" /> -->
	</div>
	<div class="vlist_bot boxSizing">
		<div class="vbot_s lin_left">
			<div class="per100 time">
				<span class="fl"><i class="icon_time"></i>${((_data.activityStartTime)?string('yyyy-MM-dd'))!''}</span>
				<span class="fr">已报名：<span class="fc_ed">${(_data.totalNumber)!'0'} </span><span class="fs_18">人</span></span>
			</div>
		</div>
		<div class="vbot_x lin_left">
			<div class="box-flex1 per100">
				<span class="address"><i class="icon_address"></i>${(_data.activityAddress)!''}</span>
			</div>
			<#if ((_data.signupStartTime)?datetime lte .now) && ((_data.signupEndTime)?datetime gte .now) >
				<div class="item_btn lin_center" onclick="baoming('${(_data.id)}');" >报名</div>
			</#if>
		</div>
	</div>
</li>
</#list>
	<#if (tag_list?size < 10) >
	<script type="text/javascript">
		//$("#loadNextPage").hide();
		$("#qb_wc").html("已无更多！");
	</script>
	</#if>
<#else>
<script type="text/javascript">
	//$("#loadNextPage").hide();
	$("#qb_wc").hide();
</script>
</#if>
</@cms_activity_main_list>
<script type="text/javascript">
	// 跳转到详情页面
	function toActivityMainInfoPage(contentId){
		location.href = "${ctx}/f/mp/${siteId}/" + contentId ;
	}
</script>